package cn.lzg.server;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 服务器程序人口
 * 
 * @author LizG
 *
 */
public class ServerApp {
	@SuppressWarnings("resource")
	public static void main(String[] args) {
		ApplicationContext applicationContext = new ClassPathXmlApplicationContext("classpath:applicationContext.xml");
		Server server = applicationContext.getBean(Server.class);
		server.start();
	}
}
